#if !defined(AFX_CONFMANAG_H__EDC9A67C_A035_4EE9_A4E4_01E148A50DF3__INCLUDED_)
#define AFX_CONFMANAG_H__EDC9A67C_A035_4EE9_A4E4_01E148A50DF3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ConfManag.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CConfManag dialog

class CConfManag : public CDialog
{
// Construction
public:
	CConfManag(CWnd* pParent = NULL);   // standard constructor
	~CConfManag();	
	CImageList  *m_pImageList;
	int			m_loggedUser;
	int			iconOp;
	int			iconCl;
	int			m_endCycleWaitTime;
	TCHAR		m_destPath[_MAX_PATH];
	TCHAR		m_simPath[_MAX_PATH];
	TCHAR		m_localPath[_MAX_PATH];
	TCHAR		m_dataPath[_MAX_PATH];
	TCHAR		m_otherPath[_MAX_PATH];
	int			m_fileToCopy[N_MAX_FILES];
	int			m_counter;

	bool SetControls(void);
	bool CheckUser(void);
	void ConfListUpdate(void);
	void UpdateNoteTxt(void);
	void FileListUpdate(int recNum);

	LRESULT OnSavedConf(WPARAM wParam, LPARAM lParam);

// Dialog Data
	//{{AFX_DATA(CConfManag)
	enum { IDD = IDD_DATASAVE };
	CButton	m_btnRestoreRem;
	CButton	m_AutoSaveOff;
	CButton	m_AutoSaveOn;
	CEdit	m_ConfDescrCtrl;
	CListBox	m_lstFiles;
	CButton	m_SaveCtrl;
	CComboBox	m_cmbConfType;
	CListCtrl	m_lstConf;
	CButton	m_RestoreCtrl;
	CButton	m_DeleteCtrl;
	CString	m_Station;
	CString	m_ConfDescr;
	CString	m_NoteTxt;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CConfManag)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CConfManag)
	afx_msg void OnExit();
	afx_msg void OnSetfocusStation();
	virtual BOOL OnInitDialog();
	afx_msg void OnClickListConf(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnSave();
	afx_msg void OnDelete();
	afx_msg void OnRestore();
	afx_msg void OnAutosaveOn();
	afx_msg void OnAutosaveOff();
	afx_msg void OnRestoreRem();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CONFMANAG_H__EDC9A67C_A035_4EE9_A4E4_01E148A50DF3__INCLUDED_)
